#pragma once
#ifndef _FORT_VECTOR2_H
#define _FORT_VECTOR2_H

namespace fort
{
	class Vector2
	{
	public:
		Vector2() : x(0.0f), y(0.0f){}
		Vector2(float px, float py) : x(px), y(py) {}

		//-- Compare two vectors
		bool Equals(Vector2 vec);
		//-- returns distance given two vectors
		static double Distance(Vector2 a, Vector2 b);
		//-- Returns length
		float Length();
		//-- Sets the values of the vector
		void Set(float px, float py);
		//-- Normalise the vector
		void Normalise();
		void Scale(double scalar);
		void Subtract(Vector2 v);

	private:
		float x, y;



	};
}

#endif
